.header {
  margin-top: 30rpx;
  width: 100%;
  background: transparent;
  height: 90rpx;
  font-size: 24rpx;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  &-tab {
    width: 650rpx;
    margin-left: 50rpx;
    height: 100%;
    background-color: #FFFFFF;
    padding: 0 40rpx 0 20rpx;
    box-sizing: border-box;
    border-radius: 24rpx;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    &-item {
      font-size: 25rpx;
      flex-shrink: 0;
      flex: 1;
      color: #00000080;
      text-align: center;

      &.active {
        color: var(--main-color);
        font-weight: bold;
        position: relative;

        &::after {
          content: '';
          position: absolute;
          width: 50%;
          height: 6rpx;
          background-color: var(--main-color);
          left: calc(50% - 25%);
          bottom: -12rpx;
          border-radius: 100rpx;
        }
      }
    }
  }

  &-avatar {
    padding-right: 15rpx;
    height: 100%;
    flex: 1;

    image {
      width: 70rpx;
      height: 70rpx;
      border-radius: 50%;
    }
  }
}